package com.atjinggu.jinggumail.order.feign;

import com.atjinggu.jinggumail.order.vo.OrderConfirmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author jingming
 * @Type MemberFeignService.java
 * @Desc
 * @date 2021/3/8 9:17
 */
@FeignClient("jinggumail-member")
public interface MemberFeignService {
    @GetMapping("/member/memberreceiveaddress/{memberId}/orderReceiveAddress")
    List<OrderConfirmVo.MemberAddressVo> orderReceiveAddress(@PathVariable("memberId") String memberId);
}
